using Unity.Entities;
using Unity.Transforms;
using Unity.Mathematics;

namespace Game.Core
{
    public unsafe partial struct MoveJob : IJobEntity
    {
        public float MoveTime;
        void Execute(ref LocalTransform translation, ref Movable movable)
        {
            translation.Position += movable.Velocity * MoveTime;
        }
    }
}